package disenioPantallas.elementos;

import java.awt.Dimension;
import java.awt.Font;

import javax.swing.JLabel;
import javax.swing.SwingConstants;

public class ELabel extends JLabel {


	private static final long serialVersionUID = 1L;

	public ELabel(){
		super();
		setPreferredSize(new Dimension(120, 40));
		setHorizontalAlignment(SwingConstants.RIGHT);
		setFont(new Font("Cambria", Font.PLAIN, 16));
	}
	
	public ELabel(String texto){
		super(texto);
		setFont(new Font("Cambria", Font.PLAIN, 16));
		setPreferredSize(new Dimension(120, 40));
		setHorizontalAlignment(SwingConstants.RIGHT);

	}
}
